/*
 * workthread.h
 *
 *  Created on: 2012-5-2
 *      Author: epmm
 */

#ifndef WORKTHREAD_H_
#define WORKTHREAD_H_
/*
 *  工作线程对象
 *
 */
class CWorkThread
{
	pthread_t m_id;	//线程ID
	int m_nStatus;		//线程状态

public:
	CWorkThread();
	virtual ~CWorkThread();
public:
	int Process(CJobBase* pJob);
	static void* startThreadMain(void* pParam);
};

#endif /* WORKTHREAD_H_ */
